
function Square(point,i,j){
    // this.type={"@":"player","#":"wall"," ":"empty","*":"exit","0":"boulder"}[t];
    this.img=dom("IMG");//
    this.img.id = i + "-" + j;
    this.img.panduan = 0;
    this.img.dianji = false;//是否被点击
    this.img.src = "Images/Cells/BlueSquare.png"
    this.img.pos=point;
    this.img.square=this;
    this.img.zheng=0;
}

//Square.prototype.show=function(){
//    this.img.innerHTML=this.data;
//    this.isshown=true;
//    console.log(this.img.pos);
//}

